{include file="public/head" /}
<body>
{include file="public/menu" /}
<div class="member">
    <div class="wrap">
		{include file="public/left" /}
        <div class="management">
            <div class="head">
                <span class="fl">
                    <a href="{:url('Member/project')}">待结算项目</a>
                    <a href="{:url('Member/project',['status'=>1])}">已结算项目</a>
                    <a class="ac">项目投资明细</a>
                </span>
            </div>
            <div class="bottom">
				<table cellspacing="0" cellpadding="0">
					<tr>
						<td>项目名称：<a href="{:url('Project/detail',['id'=>$project.id])}">《{$project.project_name}》</a></td>
						<td>投资总金额：{$total|default=0}元</td>
						<td>投资总收益：{$willtotal|default=0}元</td>
					</tr>
				</table>
                <table cellspacing="0" cellpadding="0">
                    <tr>
                        <th>订单号</th>
                        <th>下单时间</th>
                        <th>套餐类型</th>
                        <th>份数</th>
                        <th>金额</th>
                        <th>收益</th>
                        <th>订单状态</th>
                    </tr>
					{volist name="dataList" id="vo"}
					<tr>
						<td>{$vo.order_sn}</td>
						<td>{$vo.create_time}</td>
						<td>{if condition="$project.project_type eq 1"}金额{elseif condition="$project.project_type eq 2"}份额{/if}</td>
						<td>1</td>
						<td>{$vo.money}</td>
						<td>--</td>
						<td>{if condition="$vo.status eq 1"}成功{else /}失败{/if}</td>
					</tr>
					{/volist}
                </table>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>
{include file="public/foot"}
</body>
{include file="public/load_bottom" /}
</html>